package com.example.yaxin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "mail.user")
public class MailUserConfig {
    private String name;
    private String mailAddress;
}
